//
//  ViewController.m
//  BaseAPP
//
//  Created by Evisu on 16/11/20.
//  Copyright © 2016年 evisum. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
//    NSDictionary *para = [NSDictionary dictionaryWithObject:@"names" forKey:@"name"];
//    [NetworkingTool GETByURL:@"192.168.0.1" parameters:para success:^(id jsonResponse) {
//        DMLog(@"%@", jsonResponse);
//        
//    } failure:^(id jsonResponse) {
//        DMLog(@"%@", jsonResponse);
//    }];
    
//    [NetworkingTool POSTByURL:@"192.168.0.1" parameters:para success:^(id jsonResponse) {
//        
//        DMLog(@"%@", jsonResponse);
//        
//    } failure:^(id jsonResponse) {
//        
//        DMLog(@"%@", jsonResponse);
//    }];
    
//    [NetworkingTool uploadPostByURL:@"192.168.0.1" parameters:para image:nil success:^(id jsonResponse) {
//        
//        
//    } failure:^(id jsonResponse) {
//        
//        DMLog(@"上传失败---%@", jsonResponse);
//    }];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
